<?php

return [
    'timeout' => 5.0,

    // 默认发送配置
    'default' => [
        // 网关调用策略，默认：顺序调用
        'strategy' => \Overtrue\EasySms\Strategies\OrderStrategy::class,

        // 默认可用的发送网关
        'gateways' => [
            'yuntongxun',
        ],
    ],
    //可用网管配置
    'gateways' => [
        'errorlog' => [
            'file' => '/tmp/easy-sms.log',
        ],
        'yuntongxun' => [
            'app_id' => env('YUNTONGXUN_API_ID'),
            'account_sid' => env('YUNTONGXUN_ACCOUNT_SID'),
            'account_token' => env('YUNTONGXUN_ACCOUNT_TOKEN'),
            'is_sub_account' => false,
        ],
    ],
];
